package com.cn.entity;

import java.sql.Date;
import java.math.BigDecimal;
import java.io.Serializable;
import java.sql.Timestamp;

public class ShoppingCarEntity implements Serializable {
    private String shopping_id;
    private String user_id;
    private String commodity_id;
    private String type_id;
    private Integer group_id;
    private Integer number;
    private BigDecimal price;
    private BigDecimal total_prices;
    private Timestamp date_in;
    private Integer state;

    public ShoppingCarEntity(String shopping_id, String user_id, String commodity_id, String type_id, Integer group_id, Integer number, BigDecimal price, BigDecimal total_prices, Timestamp date_in, Integer state) {
        this.shopping_id = shopping_id;
        this.user_id = user_id;
        this.commodity_id = commodity_id;
        this.type_id = type_id;
        this.group_id = group_id;
        this.number = number;
        this.price = price;
        this.total_prices = total_prices;
        this.date_in = date_in;
        this.state = state;
    }

    public String getShopping_id() {
        return shopping_id;
    }

    public void setShopping_id(String shopping_id) {
        this.shopping_id = shopping_id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getCommodity_id() {
        return commodity_id;
    }

    public void setCommodity_id(String commodity_id) {
        this.commodity_id = commodity_id;
    }

    public String getType_id() {
        return type_id;
    }

    public void setType_id(String type_id) {
        this.type_id = type_id;
    }

    public Integer getGroup_id() {
        return group_id;
    }

    public void setGroup_id(Integer group_id) {
        this.group_id = group_id;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getTotal_prices() {
        return total_prices;
    }

    public void setTotal_prices(BigDecimal total_prices) {
        this.total_prices = total_prices;
    }

    public Timestamp getDate_in() {
        return date_in;
    }

    public void setDate_in(Timestamp date_in) {
        this.date_in = date_in;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public ShoppingCarEntity() {

    }
}
